<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link type="text/css" rel="stylesheet" href="../../../layui/css/layui.css"/>
    <link type="text/css" rel="stylesheet" href="../../../css/comment/curriculum/list.css"/>
</head>
<body>

<div id="cx2">
    <h5 id="zt2" style="color: #7E7A79"><strong>评论类型</strong></h5>
</div>

<div style="margin-top: 20px">
    <button id="button3" style="margin-left: 40px" type="button" class="layui-btn layui-btn-primary" onclick="qb()">全部评论(<span id="qb"></span>)</button>
    <button id="button4" type="button" class="layui-btn layui-btn-primary" onclick="ytg()">已通过(<span id="ytg"></span>)</button>
    <button id="button5" type="button" class="layui-btn layui-btn-primary" onclick="ylj()">已拦截(<span id="ylj"></span>)</button>
    <button id="button6" type="button" class="layui-btn layui-btn-primary" onclick="ysc()">已删除(<span id="ysc"></span>)</button>
</div>

<table class="layui-table" >
    <tr>
        <td>历史评论次数</td>
        <td>历史评论人数</td>
        <td>今日评论次数</td>
        <td>今日评论人数</td>
    </tr>
    <tr>
        <td><input id="count1" class="layui-input" type="text" name="orderNo" readonly></td>
        <td><input id="count2" class="layui-input" type="text" name="courseName" readonly></td>
        <td><input id="count3" class="layui-input" type="text" name="end" readonly></td>
        <td><input id="count4" class="layui-input" type="text" name="orderStatus" readonly></td>
    </tr>
</table>
<div>
    <table id="commenttable" lay-filter="equip"></table>
</div>
<script type="text/html" id="bardemo">
    {{#  if(d.status == 1){ }}
    <a href="javascript:;" style="color: green" lay-event="lj">拦截</a>
    <a href="javascript:;" style="color: green" lay-event="sc">删除</a>
    {{#  } }}
    {{#  if(d.status== 2){ }}
    <a href="javascript:;" style="color: green" lay-event="tg">通过</a>
    <a href="javascript:;" style="color: green" lay-event="sc">删除</a>
    {{#  } }}
    {{#  if(d.status== 3){ }}
    <a href="javascript:;" style="color: green" lay-event="wu">无</a>
    {{#  } }}
</script>

<script src="../../../js/jquery-3.6.0.js"></script>
<script src="../../../layui/layui.js"></script>
<script src="../../../js/comment/curriculum/list.js"></script>
</body>
</html>